﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="TRPOP.CRM.Web.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=TRPOP.CRM.Component.SystemInfoHelper.getSystemInfo().SystemName%></title>
    <script src="../Scripts/utils.js" type="text/javascript"></script>
</head>
<body>
    <div class="pr bc loginBox">
        <h1 class="pa f_ws">
            <%=TRPOP.CRM.Component.SystemInfoHelper.getSystemInfo().SystemName%></h1>
        <div class="pr loginBox_user">
            <h2 class="none">
                用户登录</h2>
            <div class="pa userForm">
                <form method="post" runat="server" onsubmit="return CheckForm(this);">
                <p>
                    <label>
                        用户名：</label><asp:TextBox ID="txtLoginName" runat="server" CssClass="iptBox" prompt="用户名" required="1" ControlValueType="None"></asp:TextBox></p>
                <p>
                    <label>
                        密&nbsp;&nbsp;码：</label><asp:TextBox ID="txtPwd" TextMode="Password" runat="server" CssClass="iptBox" prompt="密码" required="1" ControlValueType="None"></asp:TextBox></p>
                <p>
                    <label>
                        验证码：</label><asp:TextBox ID="Secode" runat="server" CssClass="codeBox" prompt="验证码" required="1" ControlValueType="None"></asp:TextBox>
                    <img alt="如果您无法识别验证码，请点图片更换" title="如果您无法识别验证码，请点图片更换" onclick="this.src='GetCheckCode.aspx?rnd=' + Math.random();"
                        style="vertical-align: middle;" width="70" height="18" src="GetCheckCode.aspx?rnd=<%= new Random().Next(1,1000).ToString()%>"
                        id="image" />
                        <span class="cb f12 c_red" id="errorTip" runat="server"></span> 
                </p>
                <div class="mt10">
                    <asp:Button ID="btnSubmit" runat="server" CssClass="loginbtn" 
                        onclick="btnSubmit_Click" />
                </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
